package com.boe.csb.core.common.status;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by tianxiang.luo on 16/12/2.
 */
public enum CertificationType {


    //企业认证
    INDIVIDUAL("individual_certification","个人"),
    ENTERPRISE("enterprise_certification","企业"),
    INSIDE("inside_certification","内部");

    private String type;
    private String desc;


    CertificationType(String type, String desc){
        this.type = type;
        this.desc = desc;

    }

    public static Map<String,String> map = new HashMap<>();

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    static {
        for (CertificationType certificationType:CertificationType.values()){
            map.put(certificationType.getType(),certificationType.getDesc());
        }
    }
}
